#ifndef ELFAPP_H
#define ELFAPP_H

#include <apps.h>
#include <fs.h>
#include <resources.h>
#include <loader.h>
#include <events.h>

#ifdef __cplusplus
extern "C" {
#endif

UINT32 Register( char* file_uri,  char* param,  UINT32 reserve );

UINT32 ELF_Start( EVENT_STACK_T *ev_st,  REG_ID_T reg_id,  UINT32 param2 );

WCHAR * UtilSplitPath( const WCHAR * path, const WCHAR * spliter );
void util_ul2u( UINT32 src, WCHAR * dst, int count );

#ifdef __cplusplus
} /* extern "C" */
#endif

typedef struct {
	UINT32		R0;
	UINT32		R1;
} _u64;


#endif